#include <bits/stdc++.h>
using namespace std;

int main() {
    double r;
    cin >> r;
    cout << fixed << setprecision(2) << 4 * 3.14 * r * r * r / 3;
    return 0;
}